package huang.jan09.co3;

public class Login {
		String name;
		String passage;
		void login(){
			System.out.println("输入的账号为："+this.name);
			System.out.println("输入的密码为："+this.name);
		}
		boolean equals(Login a){
		if(	this.name.equals(a.name)){
			return this.name.equals(a.name);
		}else if(this.passage.equals(a.passage)){
			return this.passage.equals(a.passage);
		}else {
			return false;
		}
		
		}
}
